# 通过while循环,求出1-100之间的和
i = 1
sum=0
while i<=100:
    sum+=i
    i+=1
print(f"1-100的和是{sum}")